package com.ding.api;

import com.plf.common.domain.ResponseDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiongzhiwen
 * @version 1.0
 * @description: TODO
 * @date 2024/4/24 15:07
 */

@FeignClient(value = "sfding-svr", contextId = "sfding-svr", path = "/sfding-svr/di_rel_dept_target")
@RestController
public interface Di_rel_dept_targetFeign {

    /**
     * 获取被申请人组织信息
     */
    @GetMapping("/queryAllTargetOrg")
    ResponseDTO queryAllTargetOrg();

    /**
     * 查询赣政通组织树结构
     * @param
     * @return
     */
    @PostMapping("/orgTree")
    ResponseDTO orgTree();


}
